﻿using System;
using System.Collections.Generic;
using System.Text;
using yb.commerce.DAL;
using yb.commerce.Model;

namespace yb.commerce.BLL
{
    public class ResumeBusiness
    {
        public bool Add(Resume resume) 
        { 
            return new ResumeDAO().Add(resume); 
        }
        public bool Delete(int Id) 
        {
            return new ResumeDAO().Delete(Id); 
        }
        public bool Update(Resume resume) 
        {
            return new ResumeDAO().Update(resume); 
        }
        public Resume GetEntity(int Id) 
        {
            return new ResumeDAO().GetEntity(Id); 
        }
        public DataRecordTable GetList(string fieldList, string orderField, bool orderBy, int pageIndex, int pageSize, string where)
        {
            return new ResumeDAO().GetList(fieldList, orderField, orderBy, pageIndex, pageSize, where);
        }
    }
}
